package com.xyu.common.to;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class SkuEsModel {
    //sku_id
    private Long skuId;
    //spu_id
    private Long spuId;
    //sku_title
    private String skuTitle;
    //价格 sku_price
    private BigDecimal skuPrice;
    //图片 sku_default_img
    private String skuImg;
    //销量
    private Long saleCount;
    //库存
    private Boolean hasStock;
    //
    private Long hotScore;

    private Long brandId;

    private Long catalogId;

    private String brandName;

    private String brandImg;

    private String catalogName;

    private List<Attrs> attrs;

    @Data
    public static class Attrs {
        private Long attrId;

        private String attrName;

        private String attrValue;
    }
}
